const exprress = require('express')
const router = exprress.Router()
const handler = require('../RouterHandler/lives')

//获取直播列表
router.post('/live/getLivesList', handler.getLivesList)
//创建直播
router.post('/live/createLive', handler.createLive)
//结束直播
router.post('/live/finishLive', handler.finishLive)
//修改直播信息
router.post('/live/reviseLive', handler.reviseLive)
//判断是否已开启直播
router.post('/live/judgeIsOpen', handler.judgeIsOpen)
module.exports = router